package com.woniu.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "t_goods")
public class Goods implements Serializable {
    @Id
    private Integer gid;

    private String gname;

    private Integer uid;

    @Column(name = "uploadTime")
    private Date uploadtime;

    @Column(name = "goodStatus")
    private String goodstatus;

    private Integer cid;

    private String description;

    private Integer addressid;

    private static final long serialVersionUID = 1L;

    /**
     * @return gid
     */
    public Integer getGid() {
        return gid;
    }

    /**
     * @param gid
     */
    public void setGid(Integer gid) {
        this.gid = gid;
    }

    /**
     * @return gname
     */
    public String getGname() {
        return gname;
    }

    /**
     * @param gname
     */
    public void setGname(String gname) {
        this.gname = gname;
    }

    /**
     * @return uid
     */
    public Integer getUid() {
        return uid;
    }

    /**
     * @param uid
     */
    public void setUid(Integer uid) {
        this.uid = uid;
    }

    /**
     * @return uploadTime
     */
    public Date getUploadtime() {
        return uploadtime;
    }

    /**
     * @param uploadtime
     */
    public void setUploadtime(Date uploadtime) {
        this.uploadtime = uploadtime;
    }

    /**
     * @return goodStatus
     */
    public String getGoodstatus() {
        return goodstatus;
    }

    /**
     * @param goodstatus
     */
    public void setGoodstatus(String goodstatus) {
        this.goodstatus = goodstatus;
    }

    /**
     * @return cid
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * @param cid
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    /**
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return addressid
     */
    public Integer getAddressid() {
        return addressid;
    }

    /**
     * @param addressid
     */
    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }
}